package com.erp.programmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.erp.programmer.domain.SellCompany;
import com.erp.programmer.dto.*;
import com.erp.programmer.dto.SellCompanyDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Takagi3
 * @since 2021-05-23
 */
public interface ISellCompanyService extends IService<SellCompany> {

    ResponseDto<List<SellCompanyDto>> getData();
    ResponseDto<List<SellCompanyDto>> add(SellCompanyDto SellCompanyDto);
    ResponseDto<List<SellCompanyDto>>  delete(SellCompanyDto SellCompanyDto);
    ResponseDto<List<SellCompanyDto>>  edit(SellCompanyDto SellCompanyDto);
    ResponseDto<List<SellCompanyDto>>  search(SellCompanyDto SellCompanyDto);

    ResponseDto<PageDto<SellCompanyDto>> getAll(PageDto<SellCompanyDto> pageDto);
    ResponseDto<PageDto<SellCompanyDto>> saveSellCompany(SellCompanyDto sellCompanyDto);
    ResponseDto<PageDto<SellCompanyDto>> deleteSellCompany(SellCompanyDto sellCompanyDto);
}
